package com.hougong.im.body.notice;


import com.hougong.im.annotation.ProtocolField;
import com.hougong.im.body.BaseBodyCodec;

/**
 * 申请语音通话的通知 0x9000  消息类型0x03
 */
public class ApplyAudioChatNotice extends BaseBodyCodec<ApplyAudioChatNotice> {
    /**
     * 好友id
     */
    @ProtocolField(sort = 1)
    private long fid;
    /**
     * ip长度
     */
    @ProtocolField(sort = 2)
    private int ipLen;
    /**
     * ip
     */
    @ProtocolField(sort = 3,lenField = "ipLen")
    private String ip;
    @ProtocolField(sort = 4)
    private int port;

    public long getFid() {
        return fid;
    }

    public void setFid(long fid) {
        this.fid = fid;
    }

    public int getIpLen() {
        return ipLen;
    }

    public void setIpLen(int ipLen) {
        this.ipLen = ipLen;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
